import request from "../utils/request.js"

export function sendEmailCode(email) {
  return request({
    url: '/bandEmail/code?email=' + email,
    method: 'get'
  })
}

export function bandEmail(data) {
  return request({
    url: '/bandEmail/band',
    method: 'post',
    data
  })
}